# coding: utf-8


# import project work-path package
from ch3file.dbf import pydbf
db = pydbf.Dbf()
db.use('ch3file/dbf/example.dbf')
print(db.data)

from test.test_formulas import test_loan_unittest
print(test_loan_unittest.loan.house_loan(200, 2, 0.049).total_repay)

# beyond pachage is not permitted
# from ....ch1env import pip_usage.txt
# Traceback (most recent call last):
#   File ".../imports.py", line 14, in <module>
#     from ....ch1env import pip_usage.txt
# ValueError: attempted relative import beyond top-level package
